//用户相关的请求

import { http } from "@/utils"

//1.登录请求
export function loginAPI(formData){
    return http({
        url:'/authorizations',
        method:'post',
        data:formData
    })
}

//2.获取用户信息

export function getProfileAPI(){
    return http({
        url:'/user/profile',
        method:'get'
    })
}